﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COC.Tools.Pathing.AIViewModel
{
    public class GraphNode
    {
        public int index;//store actural graph node on map.
        public int parentindex = 0;
        public int gcost;
        public ParentNodeXY parentNode=new ParentNodeXY();

        public class State
        {
            public static  int NONE = 0;
            public static  int UNWALKABLE = 1;
            public static  int WALKABLE = 2;
            public static  int UNVISITED = 3;
            public static  int VISITED = 4;
        }
        public class ParentNodeXY
        {
            public int x = 0;
            public int y = 0;
        }

    }
}
